﻿using ProTrack.Dto;
using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Stock
{
    public interface IOtherWareHouseServices
    {
        public Task<bool> AddAsync(OtherWareHouse model, List<OtherWareHouseItem> list);
        public Task<IEnumerable<OtherWareHouse>> GetAllAsync();
        public Task<IEnumerable<OtherWareHouse>> GetAsync(int PageIndex, int PageSize, string Number, string RealName, string WareHouseId, string Status);
        public Task<int> GetCountAsync(string Number, string RealName, string WareHouseId, string Status);
        public Task<bool> Delete(int[] Ids);
        public Task<bool> Delete(int Id);
        public Task<bool> UpdateAsync(OtherWareHouse model, List<OtherWareHouseItem> list);
        public Task<IEnumerable<OtherWareHouseDto>> GetOtherWareHouseItemById(string OtherWareHouseId, string WareHouseId);
        public Task<bool> UpdateStatus(long Id, int Status);
    }
}
